﻿<%@ Page Language="C#" MasterPageFile="~/QuocTeViet.Master" AutoEventWireup="true"
    CodeBehind="Products.aspx.cs" Inherits="QuocTeViet.Products" Title="Untitled Page" %>

<%@ Register Src="~/Module/ucMenuleft-1.ascx" TagName="ucMenuleft1" TagPrefix="uc2" %>
<%@ Register Src="~/Module/ucMenuleft-2.ascx" TagName="ucMenuleft2" TagPrefix="uc3" %>
<%@ Register Src="~/Module/ucHoTroTrucTuyen.ascx" TagName="ucHoTroTrucTuyen" TagPrefix="uc4" %>
<%@ Register Src="~/Module/ucQuangCao.ascx" TagName="ucQuangCao" TagPrefix="uc5" %>
<%@ Register Src="~/Module/ucSuuTap.ascx" TagName="ucSuuTap" TagPrefix="uc6" %>
<%@ Register Src="~/Module/ucBreadcrumb.ascx" TagName="ucBreadcrumb" TagPrefix="uc7" %>
<%@ Register Src="Module/ucDanhMuc.ascx" TagName="ucDanhMuc" TagPrefix="uc9" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="under-left">
        <uc9:ucDanhMuc ID="ucDanhMuc1" runat="server" />
        <uc6:ucSuuTap ID="ucSuuTap1" runat="server" />
        <uc3:ucMenuleft2 runat="server" ID="ucMenuleft2" />
        <uc4:ucHoTroTrucTuyen runat="server" ID="ucHoTroTrucTuyen" />
        <uc5:ucQuangCao runat="server" ID="ucQuangCao" />
    </div>
    <div class="under-right">
        <uc7:ucBreadcrumb ID="ucBreadcrumb" runat="server" />
        <ul class="ulxebanchay">
            <h1 class="titleProduct">
                <asp:Literal ID="lblTitle" runat="server"></asp:Literal>
                </h1>
            <div style="margin-bottom: 20px;">
                <div id="des" style="padding: 15px 10px 5px 15px; text-align: justify; font-size: 12px;">
                    <%=description %>
                </div>
                <ul id="listItem">
                    <asp:Repeater ID="rpList" runat="server">
                        <ItemTemplate>
                            <li>
                                <a href='/danh-muc-xe/<%#Eval("LoaiSanPhamID") %>/<%#FriendlyUrl(Eval("TenLoaiSanPham").ToString()) %>'><img src='/Media/ProductCate/<%#Eval("Images") %>' alt="" title="" /></a>
                                <h4>
                                    <a href='/danh-muc-xe/<%#Eval("LoaiSanPhamID") %>/<%#FriendlyUrl(Eval("TenLoaiSanPham").ToString()) %>'>
                                        <%#Eval("TenLoaiSanPham") %></a></h4>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
            </div>
            <div style="clear: both">
            </div>
            <div style="height: 30px">
            </div>
            <asp:Repeater runat="server" ID="rptSanPham" OnItemDataBound="rptSanPham_ItemDataBound">
                <ItemTemplate>
                    <li>
                        <div class="imgXeBanChay-outer">
                            <div class="imgXeBanChay-inter">
                                <a href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'>
                                    <img alt="<%#Eval("TenSanPham")%>" title="<%#Eval("TenSanPham")%>" class="xebanchay-img"
                                        src='/Media/<%#Eval("HinhAnh")%>' />
                                </a>
                            </div>
                            <div id="btn-chitiet" class="btn-chitiet">
                                <a href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'>
                                    Xem Chi Tiết >></a></div>
                        </div>
                        <div class="xebanchay-text">
                            <div class="div-description">
                                <a class="title-xebanchay" href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'
                                    title='<%#Eval("TenSanPham") %>'>
                                    <%#WordCutTitle(Eval("TenSanPham").ToString()) %></a> <a class="mota-xebanchay" href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'>
                                        <%#WordCut(Eval("MoTa").ToString())%></a>
                            </div>
                            <div class="p-description">
                                <span class="price-span"></span><a style="float: right;" class="gia-xebanchay" href='/san-pham/<%#Eval("SanPhamID")%>/<%#FriendlyUrl(Eval("TenSanPham").ToString()) %>'
                                    title='<%#Eval("TenSanPham") %>'>Liên hệ: 0903 251 288</a>
                            </div>
                        </div>
                        <asp:Panel ID="pnlHot" runat="server" Visible='<%# Eval("SanPhamBanChay") %>'>
                            <img alt="Hot" class="classNew" src="/image/HotSpotIcon.gif" width="32px" height="32px" />
                        </asp:Panel>
                        <asp:Panel ID="pnlNew" runat="server" Visible='<%# Eval("SanPhamMoi") %>'>
                            <img alt="New" class="classNew" src="/image/new_icon.gif" width="32px" height="32px" />
                        </asp:Panel>
                    </li>
                </ItemTemplate>
            </asp:Repeater>
        </ul>
        <asp:Label ID="lbThongbao" runat="server" Visible="false"></asp:Label>
        <div style="width: 100%; float: left; margin-top: 10px;">
            <div style="float: left; margin-left: 20px;">
                <asp:ImageButton ID="cmdPrev" Visible="false" OnClick="cmdPrev_Click" runat="server"
                    ImageUrl="~/images/prevpage.png" /></div>
            <div style="float: right; margin-right: 20px;">
                <asp:ImageButton ID="cmdNext" Visible="false" OnClick="cmdNext_Click" runat="server"
                    ImageUrl="~/images/nextpage.png" /></div>
        </div>
    </div>
</asp:Content>
